<template>
  <div class="info">
    <el-tabs v-model="activeName">
      <el-tab-pane label="敏感词列表" name="1">
        <list v-if="activeName === '1'"/>
      </el-tab-pane>
      <el-tab-pane label="屏蔽记录" name="2">
        <shield v-if="activeName === '2'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Shield from './components/sensitiveword/shield'
import List from './components/sensitiveword/list'

export default {
  components: {
    Shield,
    List
  },
  data() {
    return {
      activeName: '1'
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.info {
  padding: 0px 20px;
  .addprogram {
    width: 100%;
    padding: 20px 0;
    .el-button {
      float: right;
    }
  }
}
</style>
